package com.wsjc.manager.entity;

/**
 * 
 * @Description 系统管理员表
 * @ClassName   WjAdmin 
 * @Date        2018年7月22日 下午6:02:23 
 * @Author      liyang 
 *
 */

public class WjAdmin{
	
	/** 主键 */
    private Integer id;

    /** 用户名 */
    private String username;

    /** 密码  */
    private String password;

    
    public WjAdmin(Integer id, String username, String password) {
        this.id = id;
        this.username = username;
        this.password = password;
    }

    public WjAdmin() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", username=").append(username);
        sb.append(", password=").append(password);
        sb.append("]");
        return sb.toString();
    }
}